package cn.iocoder.yudao.module.system.convert.examcontrolline;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.examcontrolline.vo.*;
import cn.iocoder.yudao.module.system.dal.dataobject.examcontrolline.ExamControlLineDO;
import cn.iocoder.yudao.module.system.dal.dataobject.examscoreconversion.ExamScoreConversionDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 特控线配置 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ExamControlLineConvert {

    ExamControlLineConvert INSTANCE = Mappers.getMapper(ExamControlLineConvert.class);

    ExamControlLineDO convert(ExamControlLineCreateReqVO bean);

    ExamControlLineDO convert(ExamControlLineUpdateReqVO bean);

    ExamControlLineRespVO convert(ExamControlLineDO bean);

    List<ExamControlLineRespVO> convertList(List<ExamControlLineDO> list);

    PageResult<ExamControlLineRespVO> convertPage(PageResult<ExamControlLineDO> page);

    ExamScoreConversionRespVO convert(ExamScoreConversionDO bean);

    List<ExamScoreConversionRespVO> convertConversionList(List<ExamScoreConversionDO> list);

}
